/ MacTech 1 to 12
/ MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 15 code / Floating Windows.sea / Floating Windows / Floating Windows Code / Shell Code / eventHandler.h ![]() | < prev | next > |
MacBinary | 1995-06-21 | 1.3 KB | [TEXT/MMCC] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Wed Jun 21 18:01:32 1995, modified Wed Jun 21 18:01:32 1995, creator 'MMCC', type ASCII, 560 bytes "eventHandler.h" magic text fragment for file(1) cmd, 1st line "#ifndef __EventHandler__", 2nd line "#define%09__EventHandler__", at 0x2b0 456 bytes resource magic text fragment for file(1) cmd, 1st line "#ifndef __EventHandler__", 2nd line "#define%09__EventHandler__" | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MMCC] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 65 76 65 6e 74 48 | 61 6e 64 6c 65 72 2e 68 |..eventH|andler.h|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 02 30 00 | 00 01 c8 ac 0e 47 3c ac |......0.|.....G<.|
|00000060| 0e 47 3c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.G<.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b5 90 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 5f 45 76 65 6e 74 48 |#ifndef |__EventH|
|00000090| 61 6e 64 6c 65 72 5f 5f | 0d 23 64 65 66 69 6e 65 |andler__|.#define|
|000000a0| 09 5f 5f 45 76 65 6e 74 | 48 61 6e 64 6c 65 72 5f |.__Event|Handler_|
|000000b0| 5f 0d 0d 23 69 66 6e 64 | 65 66 20 5f 5f 57 49 4e |_..#ifnd|ef __WIN|
|000000c0| 44 4f 57 45 58 54 45 4e | 53 49 4f 4e 53 5f 5f 0d |DOWEXTEN|SIONS__.|
|000000d0| 23 69 6e 63 6c 75 64 65 | 20 22 57 69 6e 64 6f 77 |#include| "Window|
|000000e0| 45 78 74 65 6e 73 69 6f | 6e 73 2e 68 22 0d 23 65 |Extensio|ns.h".#e|
|000000f0| 6e 64 69 66 0d 0d 76 6f | 69 64 09 45 76 65 6e 74 |ndif..vo|id.Event|
|00000100| 4c 6f 6f 70 28 76 6f 69 | 64 29 3b 0d 76 6f 69 64 |Loop(voi|d);.void|
|00000110| 09 48 61 6e 64 6c 65 45 | 76 65 6e 74 28 45 76 65 |.HandleE|vent(Eve|
|00000120| 6e 74 52 65 63 6f 72 64 | 20 2a 65 76 65 6e 74 29 |ntRecord| *event)|
|00000130| 3b 0d 76 6f 69 64 09 46 | 61 74 61 6c 45 72 72 6f |;.void.F|atalErro|
|00000140| 72 41 6c 65 72 74 28 73 | 68 6f 72 74 09 65 72 72 |rAlert(s|hort.err|
|00000150| 49 44 29 3b 0d 0d 70 61 | 73 63 61 6c 20 76 6f 69 |ID);..pa|scal voi|
|00000160| 64 20 41 63 74 69 76 61 | 74 65 45 76 65 6e 74 48 |d Activa|teEventH|
|00000170| 61 6e 64 6c 65 72 28 57 | 69 6e 64 6f 77 52 65 66 |andler(W|indowRef|
|00000180| 20 74 68 65 57 69 6e 64 | 6f 77 2c 20 42 6f 6f 6c | theWind|ow, Bool|
|00000190| 65 61 6e 20 61 63 74 69 | 76 61 74 65 57 69 6e 64 |ean acti|vateWind|
|000001a0| 6f 77 29 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |ow);.pas|cal void|
|000001b0| 09 52 65 63 6f 72 64 69 | 6e 67 46 6c 6f 61 74 65 |.Recordi|ngFloate|
|000001c0| 72 41 63 74 69 76 61 74 | 65 48 61 6e 64 6c 65 72 |rActivat|eHandler|
|000001d0| 28 57 69 6e 64 6f 77 52 | 65 66 20 74 68 65 57 69 |(WindowR|ef theWi|
|000001e0| 6e 64 6f 77 2c 20 42 6f | 6f 6c 65 61 6e 20 61 63 |ndow, Bo|olean ac|
|000001f0| 74 69 76 61 74 65 57 69 | 6e 64 6f 77 29 3b 0d 70 |tivateWi|ndow);.p|
|00000200| 61 73 63 61 6c 20 76 6f | 69 64 09 54 6f 6f 6c 73 |ascal vo|id.Tools|
|00000210| 46 6c 6f 61 74 65 72 41 | 63 74 69 76 61 74 65 48 |FloaterA|ctivateH|
|00000220| 61 6e 64 6c 65 72 28 57 | 69 6e 64 6f 77 52 65 66 |andler(W|indowRef|
|00000230| 20 74 68 65 57 69 6e 64 | 6f 77 2c 20 42 6f 6f 6c | theWind|ow, Bool|
|00000240| 65 61 6e 20 61 63 74 69 | 76 61 74 65 57 69 6e 64 |ean acti|vateWind|
|00000250| 6f 77 29 3b 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |ow);.pas|cal void|
|00000260| 09 54 65 73 74 46 6c 6f | 61 74 65 72 41 63 74 69 |.TestFlo|aterActi|
|00000270| 76 61 74 65 48 61 6e 64 | 6c 65 72 28 57 69 6e 64 |vateHand|ler(Wind|
|00000280| 6f 77 52 65 66 20 74 68 | 65 57 69 6e 64 6f 77 2c |owRef th|eWindow,|
|00000290| 20 42 6f 6f 6c 65 61 6e | 20 61 63 74 69 76 61 74 | Boolean| activat|
|000002a0| 65 57 69 6e 64 6f 77 29 | 3b 0d 23 65 6e 64 69 66 |eWindow)|;.#endif|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 76 | 00 00 00 76 00 00 00 52 |.......v|...v...R|
|00000310| 5f 5f 0d 23 64 65 66 69 | 6e 65 09 5f 5f 45 76 65 |__.#defi|ne.__Eve|
|00000320| 6e 74 73 5f 5f 0d 0d 76 | 6f 69 64 09 45 76 65 6e |nts__..v|oid.Even|
|00000330| 0e 65 76 65 6e 74 48 61 | 6e 64 6c 65 72 2e 68 65 |.eventHa|ndler.he|
|00000340| 02 00 00 00 54 45 58 54 | 4d 4d 43 43 01 00 ff ff |....TEXT|MMCC....|
|00000350| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 a2 bb d7 d9 00 00 | 02 30 00 00 01 c8 4b 01 |........|.0....K.|
|00000380| 37 aa 42 01 80 20 18 4f | 6e 65 4f 62 6a 65 63 74 |7.B.. .O|neObject|
|00000390| 43 6c 61 73 73 5f 5f 01 | 31 32 13 54 4d 6f 76 65 |Class__.|12.TMove|
|000003a0| 72 01 44 41 14 46 69 6c | 65 46 76 00 00 63 4b d5 |r.DA.Fil|eFv..cK.|
|000003b0| 4b 01 36 b0 42 01 80 23 | 20 0c 01 31 35 20 0d 03 |K.6.B..#| ..15 ..|
|000003c0| 53 6f 75 6e 64 46 20 0b | 20 01 d5 4b 01 38 a4 42 |SoundF .| ..K.8.B|
|000003d0| 01 80 22 20 0c 01 31 34 | 20 0d 02 46 6f 6e 74 20 |.." ..14| ..Font |
|000003e0| 0e 63 4b d5 4b 01 39 9e | 42 01 80 27 20 0c 01 31 |.cK.K.9.|B..' ..1|
|000003f0| 39 20 0d 05 4b 65 79 4c | 61 79 6f 75 74 46 20 0b |9 ..KeyL|ayoutF .|
|00000400| 00 00 00 1e 00 29 00 04 | 01 20 01 f0 00 29 00 04 |.....)..|. ...)..|
|00000410| 01 20 01 f0 00 00 00 00 | 00 00 00 00 00 00 00 00 |. ......|........|
|00000420| 00 00 00 00 00 48 00 0a | 43 6f 75 72 69 65 72 00 |.....H..|Courier.|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 03 00 04 00 3d 00 04 |........|.....=..|
|00000450| 01 5f 02 3a 00 3d 00 04 | 01 5f 02 3a ac 21 b3 bf |._.:.=..|._.:.!..|
|00000460| 00 00 01 e1 00 00 01 fb | 00 00 00 00 01 00 00 00 |........|........|
|00000470| 00 04 00 01 00 01 00 00 | 01 00 00 00 01 76 00 00 |........|.....v..|
|00000480| 00 76 00 00 00 52 01 48 | 84 fc 25 76 00 00 00 1c |.v...R.H|..%v....|
|00000490| 00 52 00 01 4d 50 53 52 | 00 01 00 12 4d 57 42 42 |.R..MPSR|....MWBB|
|000004a0| 00 00 00 2a 03 f0 ff ff | 00 00 00 00 00 00 00 00 |...*....|........|
|000004b0| 03 ed ff ff 00 00 00 22 | 00 00 00 00 03 f0 ff ff |......."|........|
|000004c0| 00 00 00 6e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...n....|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+